Skip to content

Provision Cloudflare D1 coordinator deterministically - #1987

Merged
chubes4 merged 1 commit into
mainfrom
ops/1976-cloudflare-d1-provision
Jul 23, 2026
Merged

Provision Cloudflare D1 coordinator deterministically#1987
chubes4 merged 1 commit into
mainfrom
ops/1976-cloudflare-d1-provision

Conversation

@chubes4

@chubes4 chubes4 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an idempotent production D1 create-or-resolve command
  • emit a mode-0600 deploy config from the checked-in placeholder template
  • prove reruns converge on one database and stable binding identity

Continues #1976.

Verification

  • node --test tests/cloudflare-d1-provisioner.test.mjs
  • npm run test:cloudflare-runtime

AI Assistance

OpenAI gpt-5.6-sol via OpenCode implemented the provisioner, tests, and documentation under Chris Huber's direction and review. Chris remains responsible for every line.

@chubes4
chubes4 merged commit 34858fa into main Jul 23, 2026
4 checks passed
@chubes4
chubes4 deleted the ops/1976-cloudflare-d1-provision branch July 23, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant